package hos.http;

/**
 * <p>Title: HttpBaseRequestDownload </p>
 * <p>Description:  </p>
 * <p>Company: www.mapuni.com </p>
 *
 * @author : 蔡俊峰
 * @version : 1.0
 * @date : 2023/4/3 8:39
 */
public interface HttpBaseRequestDownload<T extends HttpBaseRequestDownload<T>> extends HttpBaseRequest<T> {

    boolean isMD5Verify();

    boolean isTempFile();

    boolean isFileNameDecode();

    boolean isConflictRename();

    String getFileDir();

    String getFileName();

    T setFileDir(String fileDir);

    T setFileName(String fileName);

    T setMD5Verify(boolean MD5Verify);

    T setTempFile(boolean tempFile);

    T setFileNameDecode(boolean fileNameDecode);

    T setConflictRename(boolean conflictRename);

    String toParamJson();
}
